feat: GitHub Action, webhook signature verification, and repo restructure#9
Merged
Conversation
…tructure - Add GitHub Action (action/index.js + action.yml + dist/) for zero-infrastructure Discord notifications - Add webhook signature verification middleware (X-Hub-Signature-256 HMAC validation) - Restructure: move src/action/ → action/, move docs to docs/ folder - Add act test event fixtures (tests/events/) - Switch from npm to pnpm, remove package-lock.json - Add CLAUDE.md and docs/explanation.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
Author
|
This seems okay, now i am going to merge it in my main branch, thank for the security updates and the github action file. |
kailash1602-exe
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
action.yml+action/index.js+dist/) for zero-infrastructure Discord notifications — no server needed, just add a workflow YAML andDISCORD_WEBHOOK_URLsecretX-Hub-Signature-256HMAC) to secure the webhook server against forged requestsnode20tonode24Restructure
src/action/→action/to separate server code from Action sourceCONTRIBUTING,CHANGELOG,SECURITY,CODE_OF_CONDUCT,WORKFLOW) intodocs/docs/explanation.mdcovering both modes, architecture, and env varsCLAUDE.mdfor Claude Code contextpackage-lock.jsonacttest event fixtures intests/events/Test plan
X-Hub-Signature-256act push -e tests/events/push.json --secret-file .secretslocally🤖 Generated with Claude Code